﻿<Window x:Class="CrateMayhem.Desktop.AutoCloseDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Width="300"
        Height="150" 
        WindowStartupLocation="CenterOwner"
        WindowStyle="None"
        BorderBrush="{StaticResource DialogForegroundBrush}"
        BorderThickness="3"
        ResizeMode="CanResize"
        AllowsTransparency="True"
        Background="{StaticResource DialogBackgroundBrush}">
    <StackPanel
        HorizontalAlignment="Center"
        VerticalAlignment="Center">
        <TextBlock 
            Text="{Binding Message}"
            Style="{StaticResource GameTextBlockStyle}"
            TextWrapping="Wrap"/>
    </StackPanel>
</Window>
